<div class="builder builder-list-box">

    <!-- Tab导航 -->
    <notempty name="tab_nav">
        <div class="builder-tabs builder-list-tabs">
            <div class="row">
                <div class="col-xs-12">
                    <ul class="nav nav-tabs">
                        <volist name="tab_nav.tab_list" id="tab">
                            <li class="<php>if($tab_nav['current_tab'] == $key) echo 'active';</php>"><a href="{$tab.href}">{$tab.title}</a></li>
                        </volist>
                    </ul>
                </div>
            </div>
        </div>
    </notempty>

    <!-- 顶部工具栏按钮 -->
    <notempty name="top_button_list">
        <div class="builder-toolbar builder-list-toolbar">
            <div class="row">
                <!-- 工具栏按钮 -->
                <notempty name="top_button_list">
                    <div class="col-xs-12 col-sm-9 button-list">
                        <volist name="top_button_list" id="button">
                            <a {$button.attribute}>{$button.title}</a>&nbsp;
                        </volist>
                    </div>
                </notempty>

                <!-- 搜索框 -->
                <notempty name="search">
                    <div class="col-xs-12 col-sm-3">
                        <div class="input-group search-form">
                            <input type="text" name="keyword" class="search-input form-control" value="{$_GET.keyword}" placeholder="{$search.title}">
                            <span class="input-group-btn"><a class="btn btn-default" href="javascript:;" id="search" url="{$search.url}"><i class="fa fa-search"></i></a></span>
                        </div>
                    </div>
                </notempty>
            </div>
        </div>
    </notempty>


    <!-- 数据列表 -->
    <div class="builder-container builder-list-container">
        <div class="row">
            <div class="col-xs-12">

                <div class="builder-table">
                    <div class="panel panel-default">
                        <table class="table table-bordered table-responsive table-striped table-hover">
						

					<volist name="table_data_list" id="data">
						<volist name="table_column_list" id="column">
							<!-----zu_one-------->
							<eq name="column.bs" value="zu_one">
								<eq name="column.cols" value="1">
									<tr>
										<th colspan="4">
											{$column.title|htmlspecialchars}
								 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
								 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
								 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
								           {$data[$column['name']]}
										</th>
									</tr>
					<!-----zu_one_item-------->
					
									<php>
										$n=0;
									</php>
									<foreach name="table_data_list" item="data">
					
										<foreach name="table_column_list" item="column">
											<php>
												$g= $column['cols']/2;
											</php>
											<eq name="column.bs" value="zu_one">
												<eq name="column.cols" value="4">
					
													<if condition="fmod($n,$g) eq 1">
														<tr>
													</if>
					
													<th>{$column.title|htmlspecialchars}</th>
													<td> {$data[$column['name']]}</td>
					
													<if condition="fmod($n,$g) eq 0">
														</tr>
													</if>
					
												</eq>
											</eq>
											<php>
												$n++;
											</php>
										</foreach>
					
									</foreach>
									<!-----/zu_one_item-------->
					
								</eq>
							</eq>
							<!-----/zu_one-------->
									<!------zu_two------->
									<eq name="column.bs" value="zu_two">
							      <eq name="column.cols" value="1">
								<tr>
									<th colspan="4">{$column.title|htmlspecialchars} {$data[$column['name']]}
									</th>
								</tr>
								<!-------zu_two_item------>
								<php>
									$m=0
								</php>
								<foreach name="table_data_list" item="data">
									<foreach name="table_column_list" item="column">
										<php>
											$h=$column['cols']/2;
										</php>
										<eq name="column.bs" value="zu_two">
											<eq name="column.cols" value="4">
												<if condition="fmod($m,$h) eq 0">
													<tr>
												</if>
				
												<th>{$column.title|htmlspecialchars}</th>
												<td> {$data[$column['name']]}</td>
												<if condition="fmod($m,$h) eq 1">
													</tr>
												</if>
				
											</eq>
										</eq>
										<php>
											$m++;
										</php>
									</foreach>
				
								</foreach>
				
								<!-------/zu_two_item------>
							</eq>
						</eq>
						<!------/zu_two------->
						 
						</volist>
					</volist>



					<!-------zu_three------>
						 <volist name="table_data_list" id="data">
							<volist name="table_column_list" id="column">
									
							<eq name="column.bs" value="zu_three">
									<eq name="column.cols" value="2">
										<tr>
										<th height="100px;">
											{$column.title|htmlspecialchars}
					
										</th>
										<td colspan="3"> {$data[$column['name']]}</td>
										</tr>
									</eq>
								</eq>
							
							</volist>
						</volist> 
					<!-------/zu_three------>
					</table>
					</div> 

                    <notempty name="table_data_page">
                        <ul class="pagination">{$table_data_page}</ul>
                    </notempty>
                </div>

            </div>
        </div>
    </div>


    <!-- 额外功能代码 -->
    {$extra_html}
</div>
